package com.by.component.export;

import com.by.component.export.dto.AddExportRecordResultSDTO;
import com.by.component.export.dto.AddExportRecordSDTO;
import com.by.component.export.dto.InfoExportRecordSDTO;
import com.by.component.export.dto.ItemExportRecord4PageSDTO;
import com.by.toolkit.model.PageReq;
import com.by.toolkit.model.PageResp;

public interface ExportService {

    PageResp<ItemExportRecord4PageSDTO> queryPage(PageReq<ItemExportRecord4PageSDTO> req);

    AddExportRecordResultSDTO addExport(AddExportRecordSDTO dto);

    void processing(Long recordId);

    void processed(Long recordId, Long exportCount, Long ossId);

    void failProcess(Long recordId, String failMsg);

    InfoExportRecordSDTO recordInfo(Long recordId);

}
